package cn.tedu.sp09.feign;

import cn.tedu.sp01.pojo.Item;
import cn.tedu.web.util.JsonResult;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author wy
 * @Date 2021/2/26 9:27
 * @Version 1.0
 */
@Component
public class ItemClientSB implements ItemClient{

    @Override
    public JsonResult<List<Item>> getItems(String orderId) {
        return JsonResult.err().msg("调用getItems失败");
    }

    @Override
    public JsonResult<?> decreaseNumber(List<Item> items) {
        return JsonResult.err().msg("调用decreaseNumber失败");
    }
}
